﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base_leasesystem_car
{
    /// <summary>
    /// 车辆信息表
    /// </summary>
    [Table("leasesystem_car")]
    public class leasesystem_car
    {

        /// <summary>
        /// 主键id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public String BusinessNo { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        public String CarNo { get; set; }

        /// <summary>
        /// 车辆类别及型号
        /// </summary>
        public String CarBrandModel { get; set; }

        /// <summary>
        /// 车主ID
        /// </summary>
        public String EmpId { get; set; }

        /// <summary>
        /// 车主姓名
        /// </summary>
        public String EmpName { get; set; }

        /// <summary>
        /// 租金
        /// </summary>
        public Decimal? Rental { get; set; }

        /// <summary>
        /// 所有权类别
        /// </summary>
        public Int32? ownership { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public Int32? Status { get; set; }

        /// <summary>
        /// 委托书
        /// </summary>
        public String authorizationLetter { get; set; }

        /// <summary>
        /// 行驶证照片
        /// </summary>
        public String VehiclelicensePhoto { get; set; }

        /// <summary>
        /// 购车发票照片
        /// </summary>
        public String BuyCarInvoicePhoto { get; set; }

        /// <summary>
        /// 交强险电子保单
        /// </summary>
        public String CompulsoryinsurancePhoto { get; set; }

        /// <summary>
        /// 商业险电子保单
        /// </summary>
        public String CommercialinsurancePhoto { get; set; }

        /// <summary>
        /// 车前全身照片
        /// </summary>
        public String CarfrontPhoto { get; set; }

        /// <summary>
        /// 车后全身照片
        /// </summary>
        public String CarbackPhoto { get; set; }

        /// <summary>
        /// 购置金额
        /// </summary>
        public Decimal? PurchasingPrice { get; set; }

    }
}